package com.hqyj.module.holiday.service;

import com.github.pagehelper.PageInfo;
import com.hqyj.module.clock.pojo.SearchBean;
import com.hqyj.module.holiday.pojo.Holiday;
import com.hqyj.module.holiday.pojo.MyUserInfo;

import java.util.List;
import java.util.Map;

/**
 * @author lap
 * @version 1.0
 * @date 2021/10/8 10:41
 */
public interface HolidayService {

    Map<String,Object> insertHoliday(Holiday holiday);

    //事假
    PageInfo<Holiday> getCitiesBySearchBean(SearchBean searchBean);
    //差假
    PageInfo<Holiday> getBusinessBySearchBean(SearchBean searchBean);

    //差假审批中
    PageInfo<Holiday> getBusinessBySearchBeanApp(SearchBean searchBean);

    //事假审批中
    PageInfo<Holiday> getThingBySearchBeanApp(SearchBean searchBean);

    Map<String,Object> getUserInfo(Integer userId);

    List<Holiday> getHolidays(Integer userId);
}
